package net.xxcxcxcx.xc_enhancedmob.render.boss_bar.unit.sever;

import net.minecraft.nbt.NbtCompound;
import net.minecraft.text.Text;
import net.xxcxcxcx.xc_enhancedmob.render.boss_bar.unit.BaseCustomBossBar;
import net.xxcxcxcx.xc_enhancedmob.render.boss_bar.unit.type.cover.BossBarCoverType;
import net.xxcxcxcx.xc_enhancedmob.render.boss_bar.unit.type.reality.BossBarRealityType;

import java.util.UUID;

/**
 * SeverCustomBossBar的基础
 * <p>是服务端的BossBar.
 */
public class SeverCustomBossBar extends BaseCustomBossBar {
    public SeverCustomBossBar(UUID uuid, Text name, BossBarRealityType RealityType, float MaxCount, float NowCount, int Layer) {
        this(uuid, name, RealityType, MaxCount, NowCount, Layer, false, null);
    }

    public SeverCustomBossBar(UUID uuid, Text name, BossBarRealityType RealityType, float MaxCount, float NowCount, int Layer, boolean needMeterCover, BossBarCoverType MeterCoverType) {
        super(uuid, name, RealityType, MaxCount, NowCount, Layer, needMeterCover, MeterCoverType);
    }

    public SeverCustomBossBar(UUID uuid, Text name, BossBarRealityType RealityType, float MaxCount, float NowCount, int Layer, boolean needMeterCover, BossBarCoverType MeterCoverType, int sortcount) {
        super(uuid, name, RealityType, MaxCount, NowCount, Layer, needMeterCover, MeterCoverType, sortcount);
    }

    public SeverCustomBossBar(NbtCompound nbtCompound) {
        readCustomDataFromNbt(nbtCompound);
    }
}
